package com.cjk.console.tunnel;

import com.cjk.foundation.util.ShellUnit;

public class TunnelSystemShell {
	
	private static String tunnelShellPath;
	private static String destoryTunnel;
	
	public static boolean destoryTunnel(Integer localPort) {
		return ShellUnit.runShellCmd(TunnelSystemShell.destoryTunnel
				+ " "+ localPort);
	}
	
	public static String getTunnelShellPath() {
		return tunnelShellPath;
	}
	public static void setTunnelShellPath(String tunnelShellPath) {
		TunnelSystemShell.tunnelShellPath = tunnelShellPath;
	}
	public static String getDestoryTunnel() {
		return destoryTunnel;
	}
	public static void setDestoryTunnel(String destoryTunnel) {
		TunnelSystemShell.destoryTunnel = destoryTunnel;
	}

}
